// JavaScript Document
$(function () {
	initDetail();
});
//初始化
function initDetail(){
	getInfo(getQueryString("id"));
	
}
//获取详情
function getInfo(id){
	var str = 'crusrUuid='+encodeURIComponent(id);
	getOData(str,"coreUser/views",{fn:function(oData){
		if(oData.code == 1) {
			$(".crusrName").text(oData.data.crusrName || "");
			$(".crusrGender").text(oData.data.crusrGender || "");
			$(".crusrAddress").text(oData.data.crusrAddress || "");
			$(".crusrBirthday").text(oData.data.crusrBirthday || "");
			$(".crusrMobile").text(oData.data.crusrMobile || "");
			$(".crusrBalance").text(oData.data.crusrBalance);
			$(".crusrPoints").text(oData.data.crusrPoints);
			$(".crusrOpenid").html(oData.data.crusrOpenid || "");
			$(".crusrCdate").html(oData.data.crusrCdate || "");
			$(".crusrUdate").html(oData.data.crusrUdate || "");
		} else {
			alert(data.errMsg);
		}
	}});
}